package com.etms.mapper;

import com.etms.pojo.Customer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CustomerMapper {
    Customer findById(@Param("id") Integer keId);

    List<Customer> findAll();

    int delById(@Param("id") Integer id);

    int addOne(Customer customer);

    int updateOne(Customer customer);
}
